home *** CD-ROM | disk | FTP | other *** search
- Path: uwm.edu!caen!cjlin
- From: cjlin@news-server.engin.umich.edu (Chih-Jen Lin)
- Newsgroups: comp.lang.c
- Subject: time spent on memory allocation
- Date: 6 Feb 1996 00:55:47 GMT
- Organization: University of Michigan Engineering, Ann Arbor
- Message-ID: <4f68uj$nih@srvr1.engin.umich.edu>
- NNTP-Posting-Host: cjlin@mannix.engin.umich.edu
- X-Newsreader: TIN [version 1.2 PL2]
-
- Dear friends :
-
- An advantage of pointer is it saves time to pass
- structure vraiables. However, to allocate and free
- memory too frequently also takes a lot of time. Comparing to
- a floating point operation, does this cost much or not ?
- Hope you can give me some ideas.
-
- Thanks in adcance.
-
- Chih-Jen
-